package org.example.DesignPatterns.Decorator.d2;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-18 13:44
 **/
public abstract class Decorator implements Showable{

    protected Showable showable;

    public Decorator(Showable showable) {
        this.showable = showable;
    }

    @Override
    public void show() {
        showable.show();
    }
}